package com.yulinlin.admin.modules.sys.domain;

import com.yulinlin.common.domain.SuperEntity;

import com.yulinlin.common.domain.TreeEntity;
import com.yulinlin.data.core.anno.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;



@Data
@ApiModel("参数枚举")
@JoinTable("sys_enum")
public class SysEnumEntity extends TreeEntity<SysEnumEntity> {



        @NotEmpty(message = "必填")
        @ApiModelProperty("编码")
        @JoinWhere
        @JoinField
        private String code;

        @NotEmpty(message = "必填")
        @ApiModelProperty("标题")
        @JoinWhere
        @JoinField
        private String title;

        @NotEmpty(message = "必填")
        @ApiModelProperty("值")
        @JoinWhere
        @JoinField
        private String value;

        @NotEmpty(message = "必填")
        @ApiModelProperty("枚举类型")
        @JoinWhere
        @JoinField
        private String enumType;


        @NotEmpty(message = "必填")
        @ApiModelProperty("值类型")
        @JoinWhere
        @JoinField
        private String valueType;



}
